@extends('admin.layouts.app')
@section('css')
<link href="/admins/vendors/datatables.net-bs/css/dataTables.bootstrap.css" rel="stylesheet">
@endsection

@section('content')
<div class="">
	<div class="page-title">
		<div class="title_left">
			<h3>用户管理</h3>
		</div>
	</div>

	<div class="clearfix"></div>
	@include('flash::message')
	<div class="row">
		<div class="col-md-12 col-sm-12 col-xs-12">
			<div class="x_content">
				<div class="col-md-12 col-sm-12 col-xs-12">
					<div class="x_panel">
						<div class="x_title">
							<h2>用户列表</h2>
							<ul class="nav navbar-right panel_toolbox">
								{!!$addButton!!}
							</ul>
							<div class="clearfix"></div>
						</div>
						<div class="x_content">
							<table id="datatable-responsive" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
								<thead>
									<tr>
										<th>#ID</th>
										<th>用户名</th>
										<th>名称</th>
										<th>邮箱</th>
										<th>超级管理员</th>
										<th>创建时间</th>
										<th>修改时间</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody></tbody>
							</table>

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
@endsection

@section('js')
<script src="/admins/vendors/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="/admins/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="/admins/js/user/user.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">$(function() {
	User.init();
});</script>
@endsection
